Module-level declarations
Queries
Link copied to clipboard
@mount("marketplace.find_distinct_original_names_by_interface_q")
query find_distinct_original_names_by_interface_q(interface_name: text): list<(display_name: text,)>
Link copied to clipboard
Link copied to clipboard
@mount("marketplace.find_original_by_id_q")
query find_original_by_id_q(id: byte_array): map<text, gtv?>?
Link copied to clipboard
@mount("marketplace.find_original_instance_trade_history_page_q")
query find_original_instance_trade_history_page_q(original_id: byte_array, before_rowid: rowid, page_size: integer): (count: integer, events: list<(seller_id: byte_array, buyer_id: byte_array, asset_id: byte_array, price: integer, timestamp: integer, block_height: integer, rowid: rowid, indirect: list<byte_array>)>, last_rowid: gtv)
Link copied to clipboard
Link copied to clipboard
@mount("marketplace.find_original_instances_by_owner_id_q")
query find_original_instances_by_owner_id_q(owner_id: byte_array, p_from: p_from, page_size: integer): (count: integer, instances: list<map<text, gtv?>>, last_p_from: p_from)
Link copied to clipboard
@mount("marketplace.find_originals_by_creator_id_q")
query find_originals_by_creator_id_q(creator_id: byte_array, p_from: p_from, page_size: integer): (count: integer, instances: list<map<text, gtv?>>, last_p_from: p_from)
Link copied to clipboard
Link copied to clipboard
@mount("marketplace.get_category_attributes_q")
query get_category_attributes_q(name: text): list<text>
Link copied to clipboard
Link copied to clipboard
@mount("marketplace.get_interface_filters_q")
query get_interface_filters_q(interface: text): map<text, gtv>
Operations
Link copied to clipboard
@mount("marketplace.buy_original_op")
operation buy_original_op(auth_id: auth_id, original_id: byte_array)
Link copied to clipboard
@mount("marketplace.change_original_price_op")
operation change_original_price_op(auth_id: auth_id, original_id: byte_array, price: integer)
Link copied to clipboard
@mount("marketplace.list_original_op")
operation list_original_op(auth_id: auth_id, original_id: byte_array, asset_id: byte_array, price: integer)
Link copied to clipboard
@mount("marketplace.unlist_original_op")
operation unlist_original_op(auth_id: auth_id, original_id: byte_array)